<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>推送说明</title>
    <link rel="stylesheet" type="text/css" href="../../css/aui2/aui.css"/>
    <style>
        body{
            
        }
        .aui-content{
            margin:1rem;
            text-indent:1rem; 
        }
    </style>
</head>
<body>
    <div class="aui-content">
    </div>
</body>
<script src="../../script/doT.min.js"></script>
<script data-main="../../script/main" src="../../script/require.js"></script>
<script type="text/javascript">
    apiready = function(){
        require(["zepto","common"],function(){
            $zb.prefs.getPrefs('token',function(ret){
                token = ret.value;
                sendAjax();
            })
        });
    };
    
    function sendAjax(){
        var data = {
            values:{
                token:token,
                id:api.pageParam.id
            }
        }
        $zb.requestForData(data,'push','getPushContent',function(ret){
            if(ret&&ret.status==="OK"){
                $(".aui-content").html(ret.data.content);
            }else{
                api.toast({
	                msg:ret.status
                });
            }
        });
    }
</script>
</html>